package com.neusoft.neuiotms.dcvm.service;

import javax.servlet.http.HttpServletResponse;

import org.springframework.web.multipart.MultipartFile;

import com.neusoft.neuiotms.dcvm.dto.FileDTO;

public interface FileService {
    FileDTO save(MultipartFile file);

    FileDTO save(byte[] data, String name, String contentType);

    FileDTO getByFsId(String fsId);

    void download(String fsId, HttpServletResponse response);

}
